home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
hobby
/
autohb.zip
/
AUTOHB.TXT
< prev
next >
Wrap
Text File
|
1994-10-15
|
6KB
|
114 lines
Automatic HAPPY BIRTHDAY Program
Released as freeware by Keith Parkansky - 10-15-94
Internet: keithp@execpc.com CompuServer: 70401,3710
Exec-PC BBS - Milwaukee, WI 414-789-4360
Neat little program that puts a chocolate birthday cake with
vanilla frosting and yellow candles on the screen and plays the
"Happy Birthday" song will printing the words on the screen in
multiple colors. The QuickBasic source code is included.
AUTOMATIC OPERATION
===================
The program looks for and reads DOS environment variables for
the birthday persons name and date. If the DOS environment
variables don't exist, it proceeds without them. The variable
for the person's name must be HBNAME and the variable for the
person's age is HBDATE (see formatting below). These variable
names can be changed, or removed completely, in the source code.
>>> STAND-ALONE SYSTEMS
-------------------
You can configure stand-alone systems to automatically
run the program on a user's birthday by adding the following
lines to the AUTOEXEC.BAT file on their system:
SET HBNAME=Put Person's Name Here (Is Case Sensitive !)
SET HBDATE=mm-dd (be sure to use this format with a dash)
@AUTOBD
>>> NOVELL NETWORKS
---------------
While you can't use the date checking part of the program, you
can set the HBNAME variable in the SYSTEM LOGIN SCRIPT by adding
the line:
DOS SET HBNAME="%USERID" - or - DOS SET HBNAME="%FULL_NAME"
and then adding the AUTOHB command in the user's login script
on their birthday. (Or come up with a way to get the user's
birthday into the DOS environment into HBDATE with the format
shown above under "Stand-Alone Systems".
NOTE: I found the "core" musical and text statements in a file
called HB.BAS on Exec-PC BBS. Since there was no accompanying
text file or other documentation, I took this to mean HB.BAS is
in the public domain. I added the statements relating to the
graphics characters for the cake, color, and enviromental variables.
----------------------------------------------------------------------------
OTHER FREEWARE: I also have a Freeware Date Reminder program in release
called TIMEFLYS. It is in the file called TIMEFLYS.ZIP
on Exec-PC, CompuServe, America On-Line, and the SimTel
mirror site on the Internet via ftp at oak.oakland.edu.
It is considerably more sophisticated than the birthday
program. It gives you simple "pop up" reminders of
upcoming US holidays and other observances 11, 4, and 1
day(s) prior to an event (i.e. no nagging). It also
automatically calculates the dates for "fixed day" holdiays
and Easter. There is also a version which additionally
contains Canadian holidays called TFCANADA.ZIP (not on OAK).
THE LEGAL NECESSITIES
=====================
LICENSE
=======
The user is granted, without charge, the right to use this freeware
version of AUTOHB for an indefinite period as the author sees fit,
and to freely distribute copies of same, under the express conditions
that: all files be included in the transfer; you do not receive any
payment, commercial benefit, or other consideration for such
reproduction or distribution; alter the software, documentation,
license agreement, or copyright notices in any way; and all terms and
conditions outlined herein are complied with. Use of the software
constitutes acceptance of, and an agreement to adhere to, the terms
set forth in this document.
NOTICES
=======
No price or other compensation may be charged for this software.
A reasonable cost may be charged for the distribution of the
software where transfer on a magnetic or optical medium, plus
shipping and handling, are involved. Under no conditions can the
AUTOHB software be "rented" or leased to others.
AUTOHB cannot be sold as part of some other inclusive package,
nor can it be included in any commercial software or software
packaging offer without a previous written agreement with the
authors. The software code or program-generated data cannot be
included or used in/with any other program, commercial or otherwise.
DISCLAIMER
==========
The "freeware" AUTOHB is licensed without any warranty of
merchantability, fitness of particular purpose, performance, or
otherwise. All warranties are disclaimed. By using the AUTOHB
software, you agree that neither its' authors, producers,
distributors, or other related parties will be liable to you or any
third party for any use of this software, or for any damages
whatsoever. Even if the authors and/or producers are apprised of the
possibility of such damages occurring, the authors and producers
assume no liability for damages, either direct or consequential,
which may result from the use of this software.